package com.qk.common.enums;

/**
 * @author diva
 * @date 2025/10/10 11:00
 * @ProjectName
 */
public enum ParamEnum implements Code{
    PARAM_ERROR( "参数错误",10001),
    Login_PASSWORD_ERROR("登录密码错误",10002 ),
    Login_USERNAME_ERROR("登录用户名错误",10003),
    Login_USER_STATUS_ERROR("用户状态已停用",10004),
    ACTIVITY_REFERENCE_ERROR("该活动有线索引用，请先删除线索",10005),
    OPERATE_FAIL_ERROR("您的操作失败，请稍后重试",10006);




    private final String msg;
    private final int code;

    ParamEnum(String msg,int code) {
        this.code = code;
        this.msg = msg;
    }


    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
